package beans;

import entities.Note;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class NoteFacade extends AbstractFacade<Note> {
    @PersistenceContext(unitName = "ProjetAppliWebPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public NoteFacade() {
        super(Note.class);
    }
}
